import { instance } from "../utils/axios";

// 告警总数
export const getAlarm = (query) => {
    return instance({
        url: '/api/board/alarm/count',
        method: 'get',
        params: query
    })

}

// 告警分类
export const getType = (query) => {
    return instance({
        url: '/api/board/alarm/type',
        method: 'get',
        params: query
    })

}
